//
//  LOLGOODCollectionViewCell.m
//  LOLXXbox
//
//  Created by mac on 16/3/1.
//  Copyright © 2016年 Grasstrio. All rights reserved.
//

#import "LOLGOODCollectionViewCell.h"
#define CONTENTWIDTH  self.contentView.frame.size.width
#define CONTENTHEIGHT  self.contentView.frame.size.height
@implementation LOLGOODCollectionViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    if(self=[super initWithFrame:frame])
    {
        self.headImageView=[[UIImageView alloc]initWithFrame:CGRectMake(0, 0, CONTENTWIDTH, CONTENTHEIGHT)];
        [self.contentView addSubview:self.headImageView];

        
        self.idLabel=[[UILabel alloc]initWithFrame:CGRectMake(self.headImageView.frame.size.width-30, self.headImageView.frame.size.height-15, 30, 15)];
        self.idLabel.textAlignment=NSTextAlignmentCenter;
        [self.headImageView addSubview:self.idLabel];

        
        
    }
    return self;
    
}

@end
